def numReverse(num):
    a = num // 100
    b = num % 100 // 10
    c = num % 10
    result = c *100 + b*10 + a
    return result